Skip to content

Store adapter — Groupon Goods

The adapter object contains properties for connecting to the Groupon Goods API.

Parent object: a store with property "platform" : "groupon_goods"

Required properties

The following adapter properties are required for Groupon Goods stores.

supplier_id

Propertysupplier_id
NameSupplier ID
Data typestring
Required?Yes

token

Propertytoken
NameGroupon API Token
Data typestring
Required?Yes

Example

Example: create a new Groupon Goods store
curl -X POST \
    -H "Authorization: Bearer $JWT_TOKEN" \
    -H "Content-Type: application/json" \
    https://api.getdropstream.com/stores \
    -d @- <<EOF
{ "customer_id": "3775",
  "name": "Your Groupon Goods Store",
  "platform": "groupon_goods",
  "adapter": {
    "supplier_id": "abc123",
    "token": "abc123"
  }
}
EOF

For details about this request type, see: Create a new store.